package com.neusoft.neuiotms.micro.notice;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.neusoft.bizcore.web.dto.result.ResultDTO;

public interface NoticeMicroService {
    @PostMapping(value = "/api/w/notice", consumes = "application/json")
    ResultDTO<Void> createNotification(String obj);

    @PostMapping(value = "/api/w/notice/refresh/{path}")
    ResultDTO<Void> notifyPage(@PathVariable String path, @RequestParam String message);

}
